package origin.db.po;

/**
 * Subscribe entity. @author MyEclipse Persistence Tools
 */

public class Subscribe implements java.io.Serializable {

	// Fields

	private int id;
	private User userByUser1;
	private User userByUser2;

	// Constructors

	/** default constructor */
	public Subscribe() {
	}

	/** full constructor */
	public Subscribe(int id, User userByUser1, User userByUser2) {
		this.id = id;
		this.userByUser1 = userByUser1;
		this.userByUser2 = userByUser2;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public User getUserByUser1() {
		return this.userByUser1;
	}

	public void setUserByUser1(User userByUser1) {
		this.userByUser1 = userByUser1;
	}

	public User getUserByUser2() {
		return this.userByUser2;
	}

	public void setUserByUser2(User userByUser2) {
		this.userByUser2 = userByUser2;
	}

}